﻿using Samurai.Wakizashi.Workflow;

namespace Samurai.WorkflowGraph.Workflow
{
    public class TestWorkflow : SequentialWorkflow<TestContext>
    {
        public TestWorkflow()
        {
            Context = new TestContext();

            RegisterStep(FirstStep, c => true);
            RegisterStep(SecondStep, ThreadType.Ui);
        }

        private void FirstStep()
        {
            
        }

        private void SecondStep()
        {
            
        }
    }

    public class TestContext : IWorkflowContext
    {
    }
}
